#!/bin/bash
#leao:Wed Aug 21 04:36:15 PM CST 2024
read val
# i=$[a%2]
# case $i in 
#     0)
#         echo "偶数";;
#     1)
#         echo “奇数”;;
# esac
case $val in
    0)
        echo 0;;
    1)
        echo 1;;
    2)
        echo 2;;
    *)
        echo *;;
    4) 
        echo 4;;
esac
